package com.erp.erp_entitys.Email;

public class emailCustomerChange {
    private int userClass;//  用户的类型  0 是用户 1是客户
    private int type;//操作类型（0新增，1修改，2删除，）
    private String oldemail;//   邮箱地址旧值
    private String newEmail;//邮箱地址新值
    private String code;//用户编码或客户联系人id
    private String name;//用户名客户联系人名

    public emailCustomerChange(int userClass, int type, String oldemail, String newEmail, String code,String name) {
        this.userClass = userClass;
        this.type = type;
        this.oldemail = oldemail;
        this.newEmail = newEmail;
        this.code = code;
        this.name=name;
    }

    public emailCustomerChange() {
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getUserClass() {
        return userClass;
    }

    public void setUserClass(int userClass) {
        this.userClass = userClass;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public String getOldemail() {
        return oldemail;
    }

    public void setOldemail(String oldemail) {
        this.oldemail = oldemail;
    }

    public String getNewEmail() {
        return newEmail;
    }

    public void setNewEmail(String newEmail) {
        this.newEmail = newEmail;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }
}
